import storage from '@/libs/storage'
import localeZhCN from '@/locale/zh-CN'
import localeEn from '@/locale/en'

const noShow = false;
const isZh = storage.getLocal('language') === 'zh';
let locale = isZh ? localeZhCN : localeEn;

export default {
    menu: [
        {
            name: locale.pageTitle.homePage,// 首页
            url: '/home',
            path: '/home'
        },
        {
            name: locale.pageTitle.settlementCenter,// 专用的结算中心
            url: '/conf/settlement-center',
            path: '/settlement-center'
        },
        {
            name: locale.pageTitle.biSystem,// 报表系统
            path: '/report',
            icon: 'menu_icon_user',
            urls: [],
            noShow,
            submenu: [
                // {
                //     name: locale.common.platformData,// 平台数据
                //     url: '/conf/report/platform-data',
                //     path: '/report/platform-data'
                // },
                {
                    name: locale.common.channelData,// 渠道数据
                    url: '/conf/report/channel-data',
                    path: '/report/channel-data'
                },
                {
                    name: locale.pageTitle.loanData,// 放款数据
                    url: '/conf/report/loan-data',
                    path: '/report/loan-data'
                },
                {
                    name: locale.pageTitle.repayData,// 还款数据
                    url: '/conf/report/repay-data',
                    path: '/report/repay-data'
                },
                {
                    name: locale.pageTitle.collectionData,// 催收数据
                    url: '/conf/report/collection-data',
                    path: '/report/collection-data'
                },
                {
                    name: locale.pageTitle.settlementCenter,// 结算中心
                    url: '/conf/report/settlement-center',
                    path: '/report/settlement-center'
                },
                // {
                //     name: locale.pageTitle.adChannelQuality,// 广告渠道质量
                //     url: '/conf/report/ad-channel-quality',
                //     path: '/report/ad-channel-quality'
                // },
            ]
        },
        {
            name: locale.pageTitle.customerServiceSystem,// 客服系统
            path: '/customerService',
            icon: 'menu_icon_user',
            urls: [],
            noShow,
            submenu: [
                {
                    name: locale.common.systemOrderSearch,// 系统订单查询
                    url: '/conf/customerService/system-order-search',
                    path: '/customerService/system-order-search'
                },
                {
                    name: locale.pageTitle.loanSucOrderSearch,// 放款成功订单查询
                    url: '/conf/customerService/system-success-order-search',
                    path: '/customerService/system-success-order-search'
                },
                {
                    name: locale.pageTitle.loanFail,// 放款成功订单查询
                    url: '/conf/customerService/system-fail-order-search',
                    path: '/customerService/system-fail-order-search'
                }
            ]
        },
        {
            name: locale.pageTitle.auditSystem,// 信审系统
            path: '/audit',
            icon: 'menu_icon_user',
            urls: [],
            noShow,
            submenu: [
                {
                    name: locale.pageTitle.userInformation,// 用户信息
                    url: '/conf/audit/user-management/users',
                    path: '/audit/user-management/users',
                    icon: 'menu_icon_user'
                },
                {
                    name: locale.pageTitle.auditManage,// 信审管理
                    path: '/audit/order-manage',
                    icon: 'menu_icon_user',
                    urls: [],
                    submenu: [
                        {
                            name: locale.audit.waitAssignList,// 待分配列表
                            url: '/conf/audit/order-manage/wait-list',
                            path: '/audit/order-manage/wait-list',
                        },
                        {
                            name: locale.audit.firstReviewList,// 初审列表
                            url: '/conf/audit/order-manage/first-review-list',
                            path: '/audit/order-manage/first-review-list',
                        },
                        {
                            name: locale.audit.finalReviewList,// 终审列表
                            url: '/conf/audit/order-manage/final-review-list',
                            path: '/audit/order-manage/final-review-list',
                        },
                        {
                            name: locale.audit.duplicateReviewList,// 复核列表
                            url: '/conf/audit/order-manage/duplicate-review-list',
                            path: '/audit/order-manage/duplicate-review-list',
                        },
                        {
                            name: locale.audit.orderSearch,// 订单查询
                            url: '/conf/audit/order-manage/order-search',
                            path: '/audit/order-manage/order-search',
                        }
                    ]
                },
                {
                    name: locale.authority.authorityManage,// 权限管理
                    path: '/audit/authority-manage',
                    icon: 'menu_icon_user',
                    urls: [],
                    submenu: [
                        {
                            name: locale.pageTitle.auditAuthorityManage,// 信审权限管理
                            url: '/conf/authority-manage/audit-authority',
                            path: '/audit/authority-manage/audit-authority',
                            icon: 'menu_icon_user'
                        },
                    ]
                }
            ]
        },
        {
            name: locale.pageTitle.financeSystem,// 财务系统
            path: '/finance',
            icon: 'menu_icon_user',
            urls: [],
            noShow,
            submenu: [
                {
                    name: locale.audit.orderSearch,// 订单查询
                    path: '/finance/order-manage/order-search',
                    url: '/conf/finance/order-manage/order-search'
                },
                {
                    name: locale.finance.lendingManagement,// 放款管理
                    path: '/finance/loan',
                    icon: 'menu_icon_user',
                    urls: [],
                    submenu: [
                        {
                            name: locale.finance.waitingList,// 待放款订单
                            url: '/conf/finance/loan/waiting-list',
                            path: '/finance/loan/waiting-list',
                        },
                        {
                            name: locale.common.offlineLoan,// 线下放款
                            url: '/conf/finance/loan/offline-loan',
                            path: '/finance/loan/offline-loan',
                        },
                        {
                            name: locale.finance.handingList,// 处理中订单
                            url: '/conf/finance/loan/handling-list',
                            path: '/finance/loan/handling-list',
                        },
                        {
                            name: locale.finance.successList,// 已成功订单
                            url: '/conf/finance/loan/success-list',
                            path: '/finance/loan/success-list',
                        },
                        {
                            name: locale.finance.failedList,// 已失败订单
                            url: '/conf/finance/loan/failed-list',
                            path: '/finance/loan/failed-list',
                        },
                        {
                            name: locale.finance.refuseList,// 已拒绝订单
                            url: '/conf/finance/loan/refuse-list',
                            path: '/finance/loan/refuse-list',
                        },
                        {
                            name: locale.finance.finishedOrder,// 已完结订单
                            url: '/conf/finance/loan/finished-list',
                            path: '/finance/loan/finished-list',
                        },
                    ]
                },
                {
                    name: locale.pageTitle.repayManage,// 还款管理
                    path: '/finance/repay',
                    icon: 'menu_icon_user',
                    urls: [],
                    submenu: [
                        {
                            name: locale.finance.waitRepayList,// 待还款订单
                            url: '/conf/finance/repay/not-repay',
                            path: '/finance/repay/not-repay',
                        },
                        {
                            name: locale.finance.hasRepayList,// 已还款订单
                            url: '/conf/finance/repay/has-repay',
                            path: '/finance/repay/has-repay',
                        },
                        {
                            name: locale.finance.rolloverRecord,// 展期记录
                            url: '/conf/finance/repay/extension-record',
                            path: '/finance/repay/extension-record',
                        },
                        {
                            name: locale.pageTitle.receiptRecord,// 还款记录
                            url: '/conf/finance/repay/repay-record',
                            path: '/finance/repay/repay-record',
                        },
                        {
                            name: locale.pageTitle.installmentRepaymentOrder,// 分期还款订单列表
                            url: '/conf/finance/repay/installment-repayment-order',
                            path: '/finance/repay/installment-repayment-order',
                        }
                    ]
                },
                {
                    name: locale.pageTitle.remitManage,// 减免管理
                    path: '/finance/remit',
                    icon: 'menu_icon_user',
                    urls: [],
                    submenu: [
                        {
                            name: locale.common.remitReview,// 金额减免审核
                            url: '/conf/finance/remit/review',
                            path: '/finance/remit/review',
                        },
                        {
                            name: locale.finance.remitRecord,// 金额减免记录
                            url: '/conf/finance/remit/record',
                            path: '/finance/remit/record',
                        },
                        {
                            name: locale.pageTitle.financeLedger,// 财务平账
                            url: '/conf/finance/remit/finance-ledger',
                            path: '/finance/remit/finance-ledger',
                        },
                        {
                            name: locale.pageTitle.financeLedgerDetail,// 财务平账明细
                            url: '/conf/finance/remit/finance-ledger-detail',
                            path: '/finance/remit/finance-ledger-detail',
                        },
                        {
                            name: locale.pageTitle.couponQuery,// 优惠券查询
                            url: '/conf/finance/remit/coupon-query',
                            path: '/finance/remit/coupon-query',
                        }
                    ]
                },
                {
                    name: locale.pageTitle.refundManage,// 退款管理
                    path: '/finance/refund',
                    icon: 'menu_icon_user',
                    urls: [],
                    submenu: [
                        {
                            name: locale.pageTitle.waitRefundList,// 待退款订单
                            url: '/conf/finance/refund/waiting-list',
                            path: '/finance/refund/waiting-list',
                        },
                        {
                            name: locale.pageTitle.refundingList,// 退款中订单
                            url: '/conf/finance/refund/refunding-list',
                            path: '/finance/refund/refunding-list',
                        },{
                            name: locale.pageTitle.refundedList,// 已退款订单
                            url: '/conf/finance/refund/refunded-list',
                            path: '/finance/refund/refunded-list',
                        },{
                            name: locale.finance.failedList,// 已失败订单
                            url: '/conf/finance/refund/failed-list',
                            path: '/finance/refund/failed-list',
                        },{
                            name: locale.finance.refuseList,// 已拒绝订单
                            url: '/conf/finance/refund/refuse-list',
                            path: '/finance/refund/refuse-list',
                        },
                    ]
                },
                {
                    name: locale.finance.activityWithdrawal,// 活动提现
                    urls: [],
                    path: '/finance/activity-withdrawal',
                    submenu: [
                        {
                            name: locale.finance.cashWithdrawal,// 提现放款
                            url: '/conf/finance/activity-withdrawal/cash-withdrawal',
                            path: '/finance/activity-withdrawal/cash-withdrawal',
                        },
                        {
                            name: locale.finance.withdrawalProcessing,// 提现处理中
                            url: '/conf/finance/activity-withdrawal/withdrawal-processing',
                            path: '/finance/activity-withdrawal/withdrawal-processing',
                        },
                        {
                            name: locale.finance.withdrawSuccessfully,// 提现成功
                            url: '/conf/finance/activity-withdrawal/withdraw-successfully',
                            path: '/finance/activity-withdrawal/withdraw-successfully',
                        },
                        {
                            name: locale.finance.withdrawalFailed,// 提现失败
                            url: '/conf/finance/activity-withdrawal/withdrawal-failed',
                            path: '/finance/activity-withdrawal/withdrawal-failed',
                        },
                        {
                            name: locale.finance.withdrawalRefused,// 提现拒绝
                            url: '/conf/finance/activity-withdrawal/withdrawal-refused',
                            path: '/finance/activity-withdrawal/withdrawal-refused',
                        },
                    ]
                },
                {
                    name: locale.pageTitle.productSetting,// 产品配置
                    path: '/finance/system-setting',
                    icon: 'menu_icon_user',
                    urls: [],
                    submenu: [
                        {
                            name: locale.pageTitle.spreadProductSetting,// 分期产品配置
                            url: '/conf/finance/system-setting/spread-product-setting',
                            path: '/finance/system-setting/spread-product-setting',

                        },
                        {
                            name: locale.pageTitle.productSetting,// 产品配置
                            url: '/conf/finance/system-setting',
                            path: '/finance/system-setting/product-setting',
                        },
                        {
                            name: locale.pageTitle.productNameSet,// 产品名配置
                            url: '/conf/finance/system-setting/product-name-setting',
                            path: '/finance/system-setting/product-name-setting',
                        },
                        {
                            name: locale.pageTitle.pseudonymConfigure,// 伪名配置
                            url: '/conf/finance/system-setting/pseudonym-configure',
                            path: '/finance/system-setting/pseudonym-configure',
                        },
                        {
                            name: locale.common.payChannel,// 支付渠道
                            url: '/conf/finance/system-setting/pay-channel-manager',
                            path: '/finance/system-setting/pay-channel-manager',
                        }
                    ]
                },
                {
                    name: locale.pageTitle.accountManagement,// 账户管理
                    path: '/finance/account-management',
                    icon: 'menu_icon_user',
                    urls: [],
                    submenu: [
                        {
                            name: locale.common.capitalFlowDetail,// 金额减免审核
                            url: '/conf/finance/account-manager/capital-flow-detail',
                            path: '/finance/account-manager/capital-flow-detail',
                        }
                    ]
                },
            ]
        },
        {
            name: locale.pageTitle.collectionSystem,// 催收系统
            path: '/collection',
            icon: 'menu_icon_user',
            urls: [],
            noShow,
            submenu: [
                {
                    name: locale.collection.statistics,// 工作统计
                    url: '/conf/collection/statistics',
                    path: '/collection/statistics',
                    // show: true,
                },
                {
                    name: locale.pageTitle.blacklistManagement,// 黑名单管理
                    url: '/conf/collection/blacklist-manage',
                    path: '/collection/blacklist-manage',
                    // show: true,
                },
                {
                    name: locale.pageTitle.s0CollectionReport,// s0催收报表
                    url: '/conf/collection/s0Report',
                    path: '/collection/s0Report',
                    // show: true,
                },

                {
                    name: locale.finance.rolloverRecord,// 展期记录
                    url: '/conf/collection/extension-record',
                    path: '/collection/extension-record',
                    noShow
                },
                {
                    name: locale.pageTitle.preCollectionManage,// 预催收管理
                    path: '/collection/pre-order-manage',
                    icon: 'menu_icon_user',
                    urls: [],
                    noShow,
                    submenu: [
                        {
                            name: locale.collection.waitAssignList,// 待分配订单
                            url: '/conf/collection/pre-order-manage/wait-assign',
                            path: '/collection/pre-order-manage/wait-assign',
                            noShow
                        },
                        {
                            name: locale.collection.waitProcessList,// 未处理订单
                            url: '/conf/collection/pre-order-manage/wait-list',
                            path: '/collection/pre-order-manage/wait-list',
                            noShow
                        },
                        {
                            name: locale.collection.processedList,// 已处理订单
                            url: '/conf/collection/pre-order-manage/processed-list',
                            path: '/collection/pre-order-manage/processed-list',
                            noShow
                        },
                        {
                            name: locale.collection.returnedList,// 已回款订单
                            url: '/conf/collection/pre-order-manage/returned-list',
                            path: '/collection/pre-order-manage/returned-list',
                            noShow
                        },
                        {
                            name: locale.finance.repayRecord,// 还款记录
                            url: '/conf/collection/order-manage/repay-record',
                            path: '/collection/order-manage/repay-record',
                            noShow
                        },
                    ]
                },
                {
                    name: locale.pageTitle.collectionManage,// 催收管理
                    path: '/collection/order-manage',
                    icon: 'menu_icon_user',
                    urls: [],
                    noShow,
                    submenu: [
                        {
                            name: locale.collection.waitAssignList,// 待分配订单
                            url: '/conf/collection/order-manage/wait-list',
                            path: '/collection/order-manage/wait-list',
                            noShow
                        },
                        {
                            name: locale.collection.handingList,// 处理中订单
                            url: '/conf/collection/order-manage/handling-list',
                            path: '/collection/order-manage/handling-list',
                            noShow
                        },
                        {
                            name: locale.collection.recalledList,// 已催回订单
                            url: '/conf/collection/order-manage/recharge-list',
                            path: '/collection/order-manage/recharge-list',
                            noShow
                        },
                        {
                            name: locale.finance.repayRecord,// 还款记录
                            url: '/conf/collection/order-manage/repay-record',
                            path: '/collection/order-manage/repay-record',
                            noShow
                        },
                        {
                            name: locale.pageTitle.exportFail,// 导出文件
                            url: '/conf/collection/export-fail-list',
                            path: '/collection/export-fail-list',
                        },                                                                           
                    ]
                },
                {
                    name: locale.common.amountRemit,// 金额减免
                    path: '/collection/amount-remit',
                    icon: 'menu_icon_user',
                    urls: [],
                    noShow,
                    submenu: [
                        {
                            name: locale.collection.waitAmountRemit,// 金额减免待审核
                            url: '/conf/collection/amount-remit/wait-list',
                            path: '/collection/amount-remit/wait-list',
                            noShow
                        },
                        {
                            name: locale.collection.amountRemitRecord,// 金额减免审核记录
                            url: '/conf/collection/amount-remit/record-list',
                            path: '/collection/amount-remit/record-list',
                            noShow
                        }
                    ]
                },
                {
                    name: locale.collection.colPhase,// 催收阶段
                    url: '/conf/collection/collection-phase',
                    path: '/collection/collection-phase'
                },
                {
                    name: locale.collection.messageManage,// 消息管理
                    path: '/collection/message-manage',
                    icon: 'menu_icon_user',
                    urls: [],
                    submenu: [
                        {
                            name: locale.collection.messageTemplate,// 消息模板
                            url: '/conf/collection/message-manage/message-template',
                            path: '/collection/message-manage/message-template',
                            icon: 'menu_icon_user'
                        },
                        {
                            name: locale.collection.autoSend,// 自动发送
                            url: '/conf/collection/message-manage/auto-send',
                            path: '/collection/message-manage/auto-send',
                            icon: 'menu_icon_user'
                        },
                    ]
                },
                {
                    name: locale.authority.authorityManage,// 权限管理
                    path: '/collection/authority-manage',
                    icon: 'menu_icon_user',
                    urls: [],
                    submenu: [
                        {
                            name: locale.pageTitle.collectionAuthorityManage,// 催收权限管理
                            url: '/conf/authority-manage/collection-authority',
                            path: '/authority-manage/collection-authority',
                            icon: 'menu_icon_user'
                        },
                    ]
                },
            ]
        },
        {
            name: locale.pageTitle.operationSystem,// 运营管理
                path: '/operation',
                icon: 'menu_icon_user',
                urls: [],
                noShow,
                submenu: [
                    {
                        name: locale.operation.appSetting,// App设置
                        url: '/conf/operation/app-setting',
                        path: '/operation/app-setting',
                    },
                    {
                        name: locale.pageTitle.whiteList,// 白名单
                        url: '/conf/operation/white-list',
                        path: '/operation/white-list',
                    },
                    {
                        name: locale.pageTitle.bannerManage,// Banner管理
                        url: '/conf/operation/banner-manage',
                        path: '/operation/banner-manage',
                    },
                    {
                        name: locale.operation.coloanlist,// 共贷配置
                        url: '/conf/operation/co-loan-list',
                        path: '/operation/co-loan-list',
                    },
                    {
                        name: locale.operation.operationalActivities,// 运营活动
                        urls: [],
                        path: '/operation/operational-activities',
                        submenu: [
                            {
                                name: locale.operation.activityData,// 活动数据
                                url: '/conf/operation/operational-activities/activity-data',
                                path: '/operation/operational-activities/activity-data',
                            },
                            {
                                name: locale.operation.activityManagement,// 活动管理
                                url: '/conf/operation/operational-activities/activity-management',
                                path: '/operation/operational-activities/activity-management',
                            },
                            {
                                name: locale.operation.activityPage,// 活动页面
                                url: '/conf/operation/operational-activities/activity-page',
                                path: '/operation/operational-activities/activity-page',
                            },
                        ]
                    },
                    {
                      name: locale.pageTitle.channelLinkManagement,// 渠道链接管理
                      path: '/operation/channel-link-manage',
                      icon: 'menu_icon_user',
                      urls: [],
                      submenu: [
                          {
                              name: locale.pageTitle.onlinePackageLink,// 在线包投放链接
                              url: '/conf/operation/channel-link-manage/online-packge',
                              path: '/operation/channel-link-manage/online-packge',
                          },
                          {
                            name: locale.pageTitle.offlinePackageLink,// 离线包链接
                            url: '/conf/operation/channel-link-manage/offline-packge',
                            path: '/operation/channel-link-manage/offline-packge',
                        },
                      ]
                    },
                    {
                        name: locale.pageTitle.couponManage,// 优惠券管理
                        path: '/operation/coupon-manage',
                        icon: 'menu_icon_user',
                        urls: [],
                        submenu: [
                            {
                                name: locale.pageTitle.couponManual,// 手动发券
                                url: '/conf/operation/coupon-manage/coupon-manual',
                                path: '/operation/coupon-manage/coupon-manual',
                            },
                            {
                                name: locale.pageTitle.automaticAouponIssuance,// 自动发券
                                url: '/conf/operation/coupon-manage/automatic-aoupon-issuance',
                                path: '/operation/coupon-manage/automatic-aoupon-issuance',
                            },
                            {
                                name: locale.pageTitle.couponStatistics,// 优惠券统计
                                url: '/conf/operation/coupon-manage/coupon-statistics',
                                path: '/operation/coupon-manage/coupon-statistics',
                            },
                        ]
                    },
                    {
                        name: locale.operation.productAndUserManage,// 产品与用户等级管理
                        path: '/operation/level-manage',
                        icon: 'menu_icon_user',
                        urls: [],
                        submenu: [
                            {
                                name: locale.operation.userLevelManage,// 用户等级管理
                                url: '/conf/operation/level-manage/user-level',
                                path: '/operation/level-manage/user-level',
                            },
                            {
                                name: locale.operation.productAndUserBindingManage,// 产品与用户等级绑定管理
                                url: '/conf/operation/level-manage/level-binding',
                                path: '/operation/level-manage/level-binding',
                            },
                            {
                                name: locale.operation.userLevel,// 用户等级列表
                                url: '/conf/operation/level-manage/user-list-level',
                                path: '/operation/level-manage/user-list-level',
                            },
                        ]
                    },
                    {
                        name: locale.common.callManage,// 通话管理
                        path: '/operation/call-manage',
                        icon: 'menu_icon_user',
                        urls: [],
                        submenu: [
                            {
                                name: locale.common.callRecord,// 通话记录
                                url: '/conf/operation/call-manage/call-record',
                                path: '/operation/call-manage/call-record',
                            },
                        ]
                    },
                    {
                        name: locale.pageTitle.smsManage,// 短信管理
                        path: '/operation/sms-manage',
                        icon: 'menu_icon_user',
                        urls: [],
                        submenu: [
                            {
                                name: locale.pageTitle.sendManually,// 手动发送
                                url: '/conf/operation/sms-manage/send-manually',
                                path: '/operation/sms-manage/send-manually',
                            },
                            {
                                name: locale.collection.autoSend,// 自动发送
                                url: '/conf/operation/sms-manage/auto-send',
                                path: '/operation/sms-manage/auto-send',
                            },
                            {
                                name: locale.pageTitle.sendRecord,// 发送记录
                                url: '/conf/operation/sms-manage/send-record',
                                path: '/operation/sms-manage/send-record',
                            }
                        ]
                    },
                    {
                        name: locale.common.advertisement,// 广告
                        path: '/operation/advertisement',
                        icon: 'menu_icon_user',
                        urls: [],
                        submenu: [
                            {
                                name: locale.common.adAccount,// 广告账户
                                url: '/conf/operation/advertisement/account',
                                path: '/operation/advertisement/account',
                            },
                            {
                                name: locale.common.adCampaign,// 广告活动
                                url: '/conf/operation/advertisement/activity',
                                path: '/operation/advertisement/activity',
                            },
                        ]
                    }
                ]
        },
        {
            name: locale.pageTitle.telSaleSystem,// 电销系统
            path: '/telemarketing',
            icon: 'menu_icon_user',
            urls: [],
            noShow,
            submenu: [
                {
                    name: locale.salesManage.saleManage,// 电销管理
                    path: '/telemarketing/telManage',
                    icon: 'menu_icon_user',
                    urls: [],
                    submenu: [
                        {
                            name: locale.salesManage.pending,// 待处理
                            url: '/conf/telemarketing/tel-manage/pending',
                            path: '/telemarketing/telManage/pending',
                        },
                        {
                            name: locale.salesManage.processed,// 已处理
                            url: '/conf/telemarketing/tel-manage/processed',
                            path: '/telemarketing/telManage/processed',
                        },
                        
                        {
                            name: locale.salesManage.reached,// 已达成
                            url: '/conf/telemarketing/tel-manage/reached',
                            path: '/telemarketing/telManage/reached',
                        },
                        {
                            name: locale.salesManage.expired,// 已失效
                            url: '/conf/telemarketing/tel-manage/expired',
                            path: '/telemarketing/telManage/expired',
                        },
                        {
                            name: locale.salesManage.robotOrder,// 机器人订单
                            url: '/conf/telemarketing/tel-manage/robotOrder',
                            path: '/telemarketing/telManage/robotOrder',
                        },
                    ]
                },
                {
                    name: locale.system.userManage,// 用户管理
                    // url: '/conf/telemarketing/user-manage',
                    path: '/telemarketing/userManage',
                    icon: 'menu_icon_user',
                    urls: [],
                    submenu: [
                        {
                            name: locale.pageTitle.importUser,// 用户导入
                            url: '/conf/telemarketing/user-manage',
                            path: '/telemarketing/userManage/userImport',
                        }
                    ],
                },
                // {
                //     name: locale.salesManage.talkManage,// 话述管理
                //     url: '/conf/telemarketing/discourse-manage',
                //     path: '/telemarketing/discourseManage',
                // },
                // {
                //     name: locale.salesManage.smsManage,// 短信管理
                //     path: '/telemarketing/smsManage',
                //     icon: 'menu_icon_user',
                //     urls: ['/conf/telemarketing/telManage/sendRecord', '/conf/telemarketing/smsManage/smsTemplate'],
                //     submenu: [
                //         {
                //             name: locale.salesManage.smsRecord,// 发送记录
                //             url: '/conf/telemarketing/smsManage/sendRecord',
                //             path: '/telemarketing/smsManage/sendRecord',
                //         },
                //         {
                //             name: locale.salesManage.smsTemplate,// 短信模版
                //             url: '/conf/telemarketing/smsManage/smsTemplate',
                //             path: '/telemarketing/smsManage/smsTemplate',
                //         }
                //     ]
                // },
                // {
                //     name: locale.salesManage.performanceManage,// 绩效统计
                //     path: '/telemarketing/performance',
                //     icon: 'menu_icon_user',
                //     urls: ['/conf/telemarketing/performance/telemarketer', '/conf/telemarketing/performance/batchNumber'],
                //     submenu: [
                //         {
                //             name: locale.salesManage.salesman,// 电销员
                //             url: '/conf/telemarketing/performance/telemarketer',
                //             path: '/telemarketing/performance/telemarketer',
                //         },
                //         {
                //             name: locale.salesManage.batchNumber,// 批次号
                //             url: '/conf/telemarketing/performance/batchNumber',
                //             path: '/telemarketing/performance/batchNumber',
                //         }
                //     ]
                // },
                {
                    name: locale.authority.authorityManage,// 权限管理
                    path: '/telemarketing/authority-manage',
                    icon: 'menu_icon_user',
                    urls: [],
                    submenu: [
                        {
                            name: locale.salesManage.telSalesAuthorityManage,// 电销权限管理
                            url: '/conf/authority-manage/telemarketing-authority',
                            path: '/telemarketing/authority-manage/telemarketing-authority',
                        },
                        {
                            name: locale.salesManage.roborOrderManage,// 机器人分单管理
                            url: '/conf/authority-manage/robot-order-manage',
                            path: '/telemarketing/authority-manage/robot-order-manage',
                        },
                    ]
                }
            ]
        },
        {
            name: locale.pageTitle.authoritySystem,// 权限系统
            path: '/authority',
            icon: 'menu_icon_user',
            urls: [],
            noShow,
            submenu: [
                {
                    name: locale.system.userManage,// 用户管理
                    url: '/conf/system-authority/system-admin-account',
                    path: '/system-authority/system-admin-account',
                    noShow
                },
                {
                    name: locale.system.roleManage,// 角色管理
                    url: '/conf/system-authority/system-admin-role',
                    path: '/system-authority/system-admin-role',
                    noShow
                },
                {
                    name: locale.system.companyMange,// 公司管理
                    url: '/conf/system-authority/system-admin-company',
                    path: '/system-authority/system-admin-company',
                    noShow
                },
                {
                    name: locale.system.resourceManage,// 资源管理
                    url: '/conf/system-authority/system-admin-resource',
                    path: '/system-authority/system-admin-resource',
                    noShow
                },
                {
                  name: locale.common.appInitialization,// app初始化配置
                  url: '/conf/system-authority/app-initial-configuration',
                  path: '/system-authority/app-initial-configuration',
                  noShow
              }
            ]
        },

    ]
};
